def ReverseWord(s: str):
    tokens=s.split(' ')
    tokens.reverse()
    return ' '.join(tokens)

print(ReverseWord('I am a student'))